<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	>
	
<h:head>
	<title><ui:insert name="title">Intranet Corporacion Narvaez</ui:insert></title>

    <f:loadBundle var="msg" basename="com.scnar.web.resource.messageResources" />    

	<link rel="stylesheet" type="text/css" href="css/estilos.css" />
	<script type="text/javascript" src="js/validador.js"/>   
</h:head>

<h:body style="background-color: rgb(23,28,31);">

	  <div id="Contenedor">
			<div id="Header">
				<ui:insert name="header">
					<div id="imagenHeader">
						<p:graphicImage value="/images/login/top1.png" />
					</div>				
				</ui:insert>
			</div>			
			<br/>	
			<div id="Menu">
				<ui:insert name="menu">
					<h:form>
						<p:menubar style="padding:0 0 0 70px;">
							<p:submenu style="font-size : 8px;"
								label="Tablas Maestras">
								<p:menuitem value="Unidad de Medida" url="faces/m_UnidadMedida.xhtml" />
								<p:menuitem value="Marca" url="faces/m_Marca.xhtml" />
								<p:menuitem value="Categor&iacute;a" url="faces/m_Categoria.xhtml" />
							</p:submenu>
	
							<p:submenu style="font-size : 8px;"
								label="Usuario">
								<p:menuitem value="Actualizar Datos" url="#" />
								<p:menuitem value="Cambiar Contraseña" url="#" />
							</p:submenu>						
						</p:menubar>
					</h:form>
				</ui:insert>
			</div>
	
	        <div id="User">        
	         	<p:accordionPanel value="" var="accordion">  
				    <p:tab title="Usuario">  
				        <h:panelGrid columns="2" cellpadding="5" style="margin-left: auto; margin-right: auto;">  
				            <p:graphicImage value="/images/login/perfil.jpg" width="50px" height="50px" />  
				            <br/>
				            <h:outputText value="DATOS" style="font-weight: bold;margin-left: auto; margin-right: auto;"/> 
				            <br/> 
				            <h:panelGrid columns="1" cellpadding="0">			               
				                <h:outputText value="Nombre: " />  
				                <h:outputText value="Alejandro Villanueva" style="font-weight: bold;"/>  
				                <br/>
				                <h:outputText value="Cargo: " />  
				                <h:outputText value="Administrador" style="font-weight: bold;"/>	 
				            </h:panelGrid>				  
				        </h:panelGrid>  				  
				    </p:tab> 
				    
				    <p:tab title="Sesi&oacute;n">  
				        <h:panelGrid columns="1" cellpadding="0">  
				            <h:panelGrid columns="1" cellpadding="4">
				                <h:commandButton action ="#{CLogin.cerrarSesion}" value="Cerrar Sesion"/>
				            </h:panelGrid>  			  
				        </h:panelGrid>  			  
				    </p:tab>  
				</p:accordionPanel>     
	        </div>
	        
	
			<div id="BodyTemplate">
	            <ui:insert name="body">	            
	                 BIENVENIDO	            
	            </ui:insert>
			</div> 
	
			<div id="Footer">
				<ui:insert name="footer">				   
				     <div id="Separator">
		  				  <p:separator style="background: gray; height: 20px;margin: 0 0 10px 0;border: 1px solid black;" />
		    		 </div>
				
	    	         <div id="SubFooter" style="margin-left: auto;margin-right: auto;">
				           <p align="center" >
				                <p:spacer width="290" height="10" />
				                Copyright 2012 Corporaci&oacute;n Narvaez. All RightsReserved. 
				            	<p:spacer width="290" height="10" />
				           </p> 					          
	    	         </div>
	    	         <br/>
	    	          <p:separator style="width: 100%;background:gray; height: 20px;margin: 0px 0 3px 0;border: 1px solid black;" />
				</ui:insert>
			</div>
		</div> 
         
</h:body>

</html>
